<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>

<html>
<head>

    <title>Statistics</title>

    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    <meta name="author" content=""/>
    <meta name="description" content=""/>
    <meta name="keywords" content=""/>

    <link rel="stylesheet" href="css/main.css"/>

    <link href="favicon.ico" rel="shortcut icon"/>
    <link href="apple-icon.png" rel="apple-touch-icon"/>

</head>

<body>
<f:view>
    <f:loadBundle basename="ResourceBundle" var="bundle"/>
    <h:form id="statisticsForm">
        <div class="android-wrap">
            <div id="wrapper">
                <div id="header">
                    <h1 class="title">Statistics</h1>
                    <ul class="app-controls">
                        <li>
                                <%--<a href="#" class="appc-back">About</a>--%>
                            <h:commandLink action="#{appBean.menu}" value="Back" styleClass="appc-back"/>

                        </li>
                        <li>
                            <%--<a href="#" class="appc-logout">Logout</a>--%>
                            <h:commandLink action="#{appBean.toLogin}" value="Logout" styleClass="appc-logout"/>
                        </li>
                    </ul>
                </div>
                <div id="content">
                    <dl class="statistic-list">
                        <dt>Today</dt>
                        <dd>
                            <p>Ads viewed</p> <strong>${appBean.adsViewed}</strong>
                        </dd>
                        <dd>
                            <p>Bonuses earned</p> <strong>${appBean.bonuses}</strong>
                        </dd>
                    </dl>
                    <dl class="statistic-list">
                        <dt>Total</dt>
                        <dd>
                            <p>Ads viewed</p> <strong>2345</strong>
                        </dd>
                        <dd>
                            <p>Bonuses earned</p>  <strong>23450 </strong>
                        </dd>
                    </dl>
                    <div class="c-promo"><a href="#">Banner</a></div>
                </div>
            </div>
                <%--<a href="#" class="android-control back-btn">Back</a>--%>
            <h:commandLink action="#{appBean.menu}" value="Back" styleClass="android-control back-btn"/>

        </div>
    </h:form>
</f:view>
</body>
</html>